fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

mmap

io.file.open.mmap

(R 
type
, offset i64, size i64, code Function R)
 => 
outcome R
install mmap effect an run code

note: the offset must be a multiple of the `os.mmap_offset_multiple` which usually is 4096, windows 65536?
note: offset+size must not exceed size of file

example usage:

Precondition
pre
  safety: offset % os.mmap_offset_multiple = 0
  safety: size > 0

Type Parameters

0.099dev (GIT hash a68bce9af280552faedee34cd5433dc10b6454de)
last changed: 2026-10-14